package www.openteam.com.contract.business;

import java.util.HashMap;
import java.util.Map;

import www.openteam.com.bean.InsertStatus;

/**
 * Created by kylin on 2017/7/11.
 */

public class InsertProductInfoContract {

    public interface InsertProductInfoPesenter {

        void insertProductInfo(String code, String name,
                               String type, String ccode,
                               String length, String width,
                               String height, String unit,
                               String maxstock, String typename,
                               String CoverPage, String contentpage, String minstock);
    }


    public interface InsertProductInfoView {

//        typeName = new HashMap<Integer, String>();
//        String code = productno.getText().toString();
//        String name = productname.getText().toString();
//        String ccode = customno_product.getText().toString();
//        String length = length_product.getText().toString();
//        String width = width_product.getText().toString();
//        String height = height_product.getText().toString();
//        String unit = unit_product_new.getText().toString();
//        String text = text_product.getText().toString();
//        String conver = conver_product.getText().toString();
//        String max = maxstock.getText().toString();
//        String min = minstock.getText().toString();
//        typeName = returnCode(materialType, product_type.getSelectedItemPosition());

        String getCode();

        String getName();

        String getCCode();

        String getLength();

        String getWidth();

        String getHeight();

        String getUnit();

        String getText();

        String getConver();

        String  getMax();

        String  getMin();

        Map<Integer,String> getTypeName();

        void insertPIData(InsertStatus insertStatus);

        void hidePIData(Throwable throwable);
    }
}
